package com.dreamcode.anfeedreader.collectors;

import java.util.List;

import com.dreamcode.anfeedreader.modelClass.Categories;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

public class GroupSpinnerAdapter extends BaseAdapter{
	private List<Categories>groupList = null;
	public GroupSpinnerAdapter(Context ctx, List<Categories>groupList){
		this.groupList = groupList;
	}
	
	@Override
	public int getCount() {
		// TODO Auto-generated method stub
		return groupList.size();
	}

	@Override
	public Object getItem(int pos) {
		// TODO Auto-generated method stub
		return groupList.get(pos);
	}

	@Override
	public long getItemId(int arg0) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public View getView(int arg0, View arg1, ViewGroup arg2) {
		// TODO Auto-generated method stub
		return null;
	}

}
